<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="/assets/css/login.css">
</head>

<body>
    <div class="layui-main">
        <img src="/assets/images/logo.png" alt="">
    </div>
    <div class="login_RedBox">
        <!-- 头部 -->
        <div class="login_bg">

        </div>
        <!-- 登录 -->
        <div class="login_box">
            <form class="layui-form" action="" id="form_login">
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-username"></i>
<<<<<<< HEAD
                    <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
=======
                    <input type="text" name="usename" required lay-verify="required" placeholder="请输入用户名"
>>>>>>> 2af1dc690bf31711df84dd30d8f782bcd3166a28
                        autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                        autocomplete="off" class="layui-input">
                </div>

                <div class="layui-form-item">
                    <!-- 普通按钮与提交按钮的区别就是 添加一个lay-submit属性 -->
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>登录</button>
                </div>
                <div class="layui-form-item links">
                    <a href="JavaScript:;" id="link_reg">去注册账号</a>
                </div>
            </form>

        </div>
        <!-- 注册的div -->
        <div class="reg_box">
            <form class="layui-form" action="" id="form_reg">
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-username"></i>
                    <input type="text" name="username" required lay-verify="required" placeholder="请输入用户名"
                        autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="password" required lay-verify="required|pwd" placeholder="请输入密码"
                        autocomplete="off" class="layui-input">
                </div>
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password"></i>
                    <input type="password" name="repassword" required lay-verify="required|pwd|repwd"
                        placeholder="再次确认密码" autocomplete="off" class="layui-input">
                </div>

                <div class="layui-form-item">
                    <!-- 普通按钮与提交按钮的区别就是 添加一个lay-submit属性 -->
<<<<<<< HEAD
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit>注册</button>
=======
                    <button class="layui-btn layui-btn-fluid layui-btn-normal" lay-submit id="form_reg1">注册</button>
>>>>>>> 2af1dc690bf31711df84dd30d8f782bcd3166a28
                </div>
                <div class="layui-form-item links">
                    <a href="JavaScript:;" id="link_login">去登陆</a>
                </div>
            </form>
        </div>
    </div>

    <!-- 引入layui js文件 -->
    <script src="/assets/lib/layui/layui.all.js"></script>
    <!-- 引入jquery文件 -->
    <script src="/assets/lib/jquery.js"></script>
    <!-- 引入拼接ajax中url的脚本 -->
    <script src="/assets/js/baseAPI.js"></script>
    <!-- 引入自己写的js文件 -->
    <script src="/assets/js/login.js"></script>
</body>

</html>